package cz.cvut.manatee.shared.login;

import java.io.Serializable;

public class UserInfo extends User implements Serializable {
	private static final long serialVersionUID = 1L;
	
	protected String name;
	protected String login;
	
	public UserInfo() {
		name  = "";
		login = "";
	}
	
	public UserInfo(String login, String name) {
		this.login = login;
		this.name  = name;
	}
	
	public String getName() {
		return name;
	}
	
	public String getLogin() {
		return login;
	}
	
	public String toString() {
		return "login: \"" + login + "\", name: \"" + name + "\"";
	}
}
